﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AJAX extenders.aspx.cs" Inherits="Default3" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <ajax:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </ajax:ToolkitScriptManager>
    Kies een sport:
    <asp:TextBox ID="TextBox1" runat="server" Width="100" />
    <asp:Panel ID="Panel1" runat="server">
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="True" BorderColor="#336699"
                    BorderStyle="Solid" Width="150" BorderWidth="1" BackColor="#dadada" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged">
                    <asp:ListItem>Voetbal</asp:ListItem>
                    <asp:ListItem>Oriënteringslopen</asp:ListItem>
                    <asp:ListItem>Tennis</asp:ListItem>
                    <asp:ListItem>Formule 1</asp:ListItem>
                </asp:RadioButtonList>
            </ContentTemplate>
        </asp:UpdatePanel>
    </asp:Panel>
    <ajax:PopupControlExtender ID="PopupControlExtender1" runat="server" TargetControlID="TextBox1"
        PopupControlID="Panel1" Position="Right" CommitProperty="value" OffsetX="3">
    </ajax:PopupControlExtender>
    </form>
</body>
</html>
